package com.example.order.service;

import com.example.model.domain.entity.order.PaymentInfo;
import com.example.model.domain.entity.order.RefundInfo;

/**
 * @Author juzipi
 * @Date 2021/7/26 8:43
 * @Info
 */
public interface RefundInfoService {

    /**
     * 保存退款记录
     * @param paymentInfo
     * @return
     */
    RefundInfo insertRefundInfo(PaymentInfo paymentInfo);

    /**
     * 更新退款记录
     * @param refundInfo
     * @return
     */
    Integer updateRefundInfo(RefundInfo refundInfo);
}
